console.log("自定义 ReactCli react脚手架");

// import { word } from '~';
// import photo from "@/assets/images/eat.jpg"


// var app = document.getElementById("app");
// app.innerHTML = `<p>${word}</p>`
// app.style.background = "url(" + photo + ") 0 0 no-repeat"


// import React from 'react'
import ReactDOM from 'react-dom'
import App from './app.jsx'
import MyHead from '@/components/head'
import '@/assets/styles/demo.css'
class RootEle extends React.Component {
    render() {
        return (
            <div>
                <h2>hello react</h2>
                {/* <MyHead></MyHead> */}
                <App></App>
            </div>
        )
    }
}


ReactDOM.render(
    <RootEle />,
    document.getElementById('app')
)



const hotRender = () => {
    ReactDOM.render(

    )
}